import {post, get, patch,Delete} from "@/utils/http.js";
export function submitExam(params) {//保存试卷
    return post("/api/v1/exams",params)
}
export function saveProgress(params) {//保存进度
    return post("/api/v1/paper_progress",params)
}
export function getExampaperProgress(params) {//获取试卷进度
    return get("/api/v1/paper_progress/"+params)
}
export function getExamPaper(params) {//获取试卷
    return get("/api/v1/exams/"+params)
}